{% extends "base.html" %}

{% block title %}
    {{  super()}}
   - 登录{% endblock %}

{% block body_content %}
    <div class="col-sm-offset-6 col-sm-6">
<h2>登录</h2>
        </div>
    <form class="form-horizontal" method="post" action="{{ url_for('auth_view.login') }}">
        <div class="form-group">
            <label for="email" class="col-sm-2 control-label">Email</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="email" name="email" value="" placeholder="Email">
            </div>
        </div>
        <div class="form-group">
            <label for="password" class="col-sm-2 control-label">Password</label>
            <div class="col-sm-10">
                <input type="password" class="form-control" id="password" name="password" value="" placeholder="Password">
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <div class="checkbox">
                    <label>
                        <input type="checkbox" name="remember_me"> Remember me
                    </label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-default">登录</button>
                 <p>Forgot your password? <a href="{{ url_for('auth_view.forget_password') }}">Click here to reset it</a>.</p>
    <p>New user? <a href="{{ url_for('auth_view.register') }}">Click here to register</a>.</p>
            </div>
        </div>
    </form>

{% endblock %}